package org.rcy.framework.data.transaction;

/**
 * @author 吴康桥
 * @Description
 * @date 2022/9/28 9:21
 */

public interface BaseDataSourceContext {

    String objectNameStr = "rcy.framework:type=DataSourceContext";

    long getMaxTransactionTime();

    void setMaxTransactionTime(long maxTransactionTime);

    int getMaxLimit();

    void setMaxLimit(int maxLimit);

    int getMaxLogTime();

    void setMaxLogTime(int maxLogTime);

    boolean isMonitTransaction();

    void setMonitTransaction(boolean monitTransaction);

    String getTransactionInfo();

    int getTransactionSize();

    void clearTransaction();
}
